package com.example.customer.service;
import com.example.customer.dto.PageBean;
import entity.policyholders_info;
import entity.recognizee_info;

import java.util.List;

public interface pageService {
    //投保人
    public PageBean getAllPolicyholdersInfo(Integer pageIndex, Integer pageSize, String name, String credentials_number) throws Exception ;

    public List<policyholders_info> getAllPolicyholdersInfos() throws Exception ;


    //被投保人
    public PageBean getAllRecognizeeInfo(Integer pageIndex, Integer pageSize, String name, String credentials_number) throws Exception ;

    public List<recognizee_info> getAllRecognizeeInfos() throws Exception ;
}
